home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive
/
000028_neal@ctd.comsat.com_Sun Mar 5 03:39:00 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-03-08
|
1KB
Received: from neal.ctd.comsat.com by cs.umb.edu with SMTP id AA19323
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sun, 5 Mar 1995 08:39:05 -0500
Received: by neal.ctd.comsat.com (Smail3.1.29.0 #3)
id m0rlGWW-000343C; Sun, 5 Mar 95 08:39 EST
Message-Id: <m0rlGWW-000343C@neal.ctd.comsat.com>
Date: Sun, 5 Mar 95 08:39 EST
From: neal@ctd.comsat.com (Neal Becker)
To: tex-k@cs.umb.edu
Subject: xdvi linux X_WCHAR SOLUTION
In-Reply-To: <Pine.SUN.3.91.950304224752.18704A-100000@panix.com>
References: <Pine.SUN.3.91.950304224752.18704A-100000@panix.com>
I have brought this up before. Previously I had said that Xosdefs.h
should be fixed, because it says:
#ifdef i386
#ifdef SYSV
#ifndef SCO
#define X_NOT_POSIX
#endif
#define X_NOT_STDC_ENV
#endif
#endif
Linux has i386, so if you define SYSV then you get X_NOT_STC_ENV,
which is wrong, and causes the problem in Xlib.h:
#ifndef X_WCHAR
#ifdef X_NOT_STDC_ENV
#ifndef SCO324
#define X_WCHAR
#endif
#endif
#endif
Previously I suggested that Xosdefs.h should be modified. I have
discussed this with David Dawes <dawes@physics.usyd.edu.au>. He has
convinced me that
defining SYSV in any X program (on linux) is *wrong*. So the real
problem is in kpathsea, where we find the real cause of the trouble is
in c-memstr.h where SYSV is wrongly defined.
SYSV triggers so many things in X headers. X client programs should
NEVER define it.